package com.lcxw.hxzb.friendcircle.project.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.lcxw.hxzb.friendcircle.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 情侣关系对象 ywpd_loves
 * 
 * @author ruoyi
 * @date 2020-09-27
 */
public class YwpdLoves extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 等级id */
    private Long lovesId;

    /** 发起者用户id */
    private String userId;

    /** 被邀请者用户id */
    private String friendId;

    /** 状态(0-待同意1-同意2-拒绝3-解散) */
    private String status;

    /** 解散时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date time;

    /** 当前资产值 */
    private BigDecimal money;

    private YwpdRank ywpdRank;


    private String name;

    public YwpdRank getYwpdRank() {
        return ywpdRank;
    }

    public void setYwpdRank(YwpdRank ywpdRank) {
        this.ywpdRank = ywpdRank;
    }

    public void setLovesId(Long lovesId)
    {
        this.lovesId = lovesId;
    }

    public Long getLovesId() 
    {
        return lovesId;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setFriendId(String friendId) 
    {
        this.friendId = friendId;
    }

    public String getFriendId() 
    {
        return friendId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setMoney(BigDecimal money)
    {
        this.money = money;
    }

    public BigDecimal getMoney()
    {
        return money;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("lovesId", getLovesId())
            .append("userId", getUserId())
            .append("friendId", getFriendId())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("time", getTime())
            .append("money", getMoney())
            .toString();
    }
}
